package com.ll.domain.pk.dto;

import com.ll.domain.pk.enums.PkResultEnum;
import com.ll.domain.pk.enums.PkStatusEnum;
import com.ll.domain.pk.enums.PkTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PkDTO {
    private Long id;
    private Long tenantId;
    private Date ctime;
    private PkTypeEnum type;
    private PkStatusEnum status;
    private PkResultEnum result;

    private Long sourceId;
    private String sourceName;
    private String sourceLogo;

    private Long targetId;
    private String targetName;
    private String targetLogo;

    private Long refereeId;

    @ApiModelProperty(value = "积分", required = true,example = "40")
    private Integer integral;
}
